package cn.lbf.stuniversity.equipmenttype.entity;

import java.util.ArrayList;
import java.util.List;

public class EquipmentTypeTreeNode {
    private EquipmentType equipmentType;
    private List<EquipmentTypeTreeNode> children;

    public EquipmentTypeTreeNode(EquipmentType equipmentType) {
        this.equipmentType = equipmentType;
        this.children = new ArrayList<>();
    }

    public EquipmentType getEquipmentType() {
        return equipmentType;
    }

    public void setEquipmentType(EquipmentType equipmentType) {
        this.equipmentType = equipmentType;
    }

    public List<EquipmentTypeTreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<EquipmentTypeTreeNode> children) {
        this.children = children;
    }
}